package spring.pojo;

import org.springframework.stereotype.Component;

@Component
public class Son {
    String name="赵彪";
    public void play(){
        System.out.println("好儿子"+name+"玩粑粑");
    }

    @Override
    public String toString() {
        return "Son{" +
                "name='" + name + '\'' +
                '}';
    }
}
